<form class="mb-20" method="get" action="{:\\think\\Url::build($Request.action)}">
    <div class="select-box" style="width:250px">
        <select name="type_id" class="select" >
            <option value='0'>- 文章分类 -</option>
            {foreach $type as $type}
            <option value="{$type.id}" {if(isset($vo) && $type['id'] == $vo['type_id'])} selected{/if} >{$type.name}</option>
            {if(isset($type['_child']) && is_array($type['_child']))}
            {foreach $type['_child'] as $_child}
            <option value="{$_child.id}" {if(isset($vo) && $_child['id'] == $vo['type_id'])} selected{/if} >&nbsp;&nbsp;&nbsp;&nbsp;{$_child.name}</option>
            {/foreach}
            {/if}
            {/foreach}
        </select>
    </div>
    <input type="text" class="input-text" style="width:250px" placeholder="标题" name="title" value="{$Request.param.title}" >
    <button type="submit" class="btn btn-success"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
</form>